package net.yunzhanyi.generic.domain.model;

import java.io.Serializable;

public class Perfect implements Serializable {
    /**
     * 建议id
     */
    private Long perfectId;

    /**
     * 用户id
     */
    private Long uid;

    /**
     * 建议标题
     */
    private String perfectTitle;

    /**
     * 建议内容
     */
    private String perfectContent;

    /**
     * 建议类型(0:网站建议,1:完善诗词,2:完善作者)
     */
    private Integer perfectType;

    /**
     * 提出时间
     */
    private Long createTime;

    /**
     * 建议状态(0:未查看,1:已查看)
     */
    private Integer perfectStatus;

    /**
     * 处理时间
     */
    private Long dealTime;

    private static final long serialVersionUID = 1L;

    public Long getPerfectId() {
        return perfectId;
    }

    public void setPerfectId(Long perfectId) {
        this.perfectId = perfectId;
    }

    public Long getUid() {
        return uid;
    }

    public void setUid(Long uid) {
        this.uid = uid;
    }

    public String getPerfectTitle() {
        return perfectTitle;
    }

    public void setPerfectTitle(String perfectTitle) {
        this.perfectTitle = perfectTitle;
    }

    public String getPerfectContent() {
        return perfectContent;
    }

    public void setPerfectContent(String perfectContent) {
        this.perfectContent = perfectContent;
    }

    public Integer getPerfectType() {
        return perfectType;
    }

    public void setPerfectType(Integer perfectType) {
        this.perfectType = perfectType;
    }

    public Long getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Long createTime) {
        this.createTime = createTime;
    }

    public Integer getPerfectStatus() {
        return perfectStatus;
    }

    public void setPerfectStatus(Integer perfectStatus) {
        this.perfectStatus = perfectStatus;
    }

    public Long getDealTime() {
        return dealTime;
    }

    public void setDealTime(Long dealTime) {
        this.dealTime = dealTime;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", perfectId=").append(perfectId);
        sb.append(", uid=").append(uid);
        sb.append(", perfectTitle=").append(perfectTitle);
        sb.append(", perfectContent=").append(perfectContent);
        sb.append(", perfectType=").append(perfectType);
        sb.append(", createTime=").append(createTime);
        sb.append(", perfectStatus=").append(perfectStatus);
        sb.append(", dealTime=").append(dealTime);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}
